Authorizations
Path Parameters
Body
application/vnd.api+json
[DEPRECATED] Use form field endpoints instead. Update a specific custom field by id
curl --request PUT \
--url https://api.rootly.com/v1/custom_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_fields",
"attributes": {
"label": "<string>",
"slug": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123
}
}
}'{
"data": {
"id": "128",
"type": "custom_fields",
"attributes": {
"slug": "test-update-custom-field",
"description": "Mollitia ipsam numquam ea.",
"enabled": true,
"position": 1,
"updated_at": "2025-12-01T14:15:18.161-08:00",
"created_at": "2025-12-01T14:15:15.614-08:00",
"kind": "text",
"label": "Test update custom field",
"shown": [
"incident_form"
],
"required": []
},
"relationships": {
"options": {
"data": [
{
"id": "4",
"type": "custom_field_options"
},
{
"id": "5",
"type": "custom_field_options"
}
]
}
}
}
}Show child attributes
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/custom_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_fields",
"attributes": {
"label": "<string>",
"slug": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123
}
}
}'{
"data": {
"id": "128",
"type": "custom_fields",
"attributes": {
"slug": "test-update-custom-field",
"description": "Mollitia ipsam numquam ea.",
"enabled": true,
"position": 1,
"updated_at": "2025-12-01T14:15:18.161-08:00",
"created_at": "2025-12-01T14:15:15.614-08:00",
"kind": "text",
"label": "Test update custom field",
"shown": [
"incident_form"
],
"required": []
},
"relationships": {
"options": {
"data": [
{
"id": "4",
"type": "custom_field_options"
},
{
"id": "5",
"type": "custom_field_options"
}
]
}
}
}
}